<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <!-- Use IE7 mode -->
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8}" />
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <title><?php echo (L("shop_admin")); ?> -- Powered by Shop</title>
        <link rel="stylesheet" type="text/css" href="../Public/style/admin.css" />
        <script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/ecmall.js"></script>
        <script type="text/javascript">
            var imgPath = '../Public/style/images/';
            var menu = <?php echo ($menu_json); ?>;
        </script>
        <script type="text/javascript" src="../Public/js/index.js"></script>
    </head>
    <body>
        <div class="back_nav">
            <div class="back_nav_list">
                <?php if(is_array($back_nav)): $i = 0; $__LIST__ = $back_nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?><dl>
                        <dt><?php echo ($menu["text"]); ?></dt>
                        <?php if(is_array($menu['children'])): $i = 0; $__LIST__ = $menu['children'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$sub_menu): $mod = ($i % 2 );++$i;?><dd><a href="javascript:;" onclick="openItem('<?php echo ($sub_key); ?>', '<?php echo ($key); ?>');
                none_fn();"><?php echo ($sub_menu["text"]); ?></a></dd><?php endforeach; endif; else: echo "" ;endif; ?>
                    </dl><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <div class="shadow"></div>
            <div class="close_float"><img src="../Public/style/images/close2.gif" /></div>
        </div>
        <div id="head">
            <div id="logo"><a href="index.php"><img src="../Public/style/images/logo.gif" alt="ECMall" /></a></div>
            <div id="menu"><span><?php echo (L("hello")); ?><strong><?php echo ($visitor["user_name"]); ?></strong> <a href="index.php?act=logout">[<?php echo ($lang["logout"]); ?>]</a> <a href="<?php echo ($site_url); ?>/index.php" target="_blank">[<?php echo ($lang["ecmall_index"]); ?>]</a></span>
                <a href="javascript:;" class="menu_btn1" id="iframe_refresh"><?php echo (L("refresh")); ?></a>
                <a href="javascript:;" class="menu_btn2" id="clear_cache"><?php echo (L("clear_cache")); ?></a>
                <a href="#" id="back_btn"><img src="../Public/style/images/tiring_room_nav.gif" /></a>
            </div>
            <ul id="nav">
            </ul>
            <div id="headBg"></div>
        </div>
        <div id="content">
            <div id="left">
                <div id="leftMenus">
                    <dl id="submenu">
                        <dt><a class="ico1" id="submenuTitle" href="javascript:;"></a></dt>
                    </dl>
                    <dl id="history" class="history">
                        <dt>
                            <a class="ico2" id="historyText" href="#"><?php echo (L("action_history")); ?></a>
                        </dt>
                    </dl>
                </div>
            </div>
            <div id="right">
                <iframe frameborder="0" style="display:none;" width="100%" id="workspace"></iframe>
            </div>
        </div>
    </body>
</html>